package site.xiaodi.proxy;

/**
 * @author xiao
 * @email 245938767@qq.com
 * @gitee https://gitee.com/liu_yong_qiee/
 * @date 2021/10/6 9:23 上午
 */

public class Client {

    public static void main(String[] args) {
        IGamePlayer player = new GamePlayer("鸣人");
        IGamePlayer proxy = new GamePlayerProxy(player);

        proxy.login("xiaodi", "abc123");
        proxy.killBoss();
        proxy.upgrade();
    }

}